package com.example.zx_springboot.service;

import com.example.zx_springboot.entity.ZxRole;
import com.example.zx_springboot.entity.Zxicon;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ZxRoleService {
    PageInfo rolefindByPage(Integer pageNum, Integer pageSize, String role_name);

    void updaterole(ZxRole zxRole);

    void deleterole(Integer role_id);

    void deleteroles(List<Integer> ids);

    void addrole(ZxRole zxRole);

    void savemenus(Integer role_id, List<Integer> menuids);

    List<Integer> exitmenus(Integer role_id);

    List<Zxicon> geticon();
}
